package com.toy.service;

import com.toy.entity.Orders;
import com.baomidou.mybatisplus.extension.service.IService;
import com.toy.vo.OrderDetailVO;
import com.toy.vo.OrdersVO;
import com.toy.vo.PageResult;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author admin
 * @since 2022-08-31
 */
public interface OrdersService extends IService<Orders> {
    public List<OrdersVO> findAllByUserId(Integer id);
    public Boolean updateStatusBySerialnumber(String serialnumber);

    PageResult findOrderByPage(PageResult pageResult);

    List<Orders> selectOrderList(PageResult pageResult);

    Orders selectOrderById(Integer id);
}
